package com.gonsin.gview.logic.exceptions;

/**
 * GView的异常
 */
public class BaseGViewException extends RuntimeException{

    private String message;

    public BaseGViewException(String message) {
        this.message = message;
    }

    public BaseGViewException(String message, Object ... args) {
        this.message = String.format(message, args);
    }

    @Override
    public String getMessage() {
        return message;
    }
}
